package billrestauration.daos.interfaces;

import java.util.List;

import billrestauration.entities.Menu;
import billrestauration.entities.Reservation;
import billrestauration.entities.Utilisateur;

public interface GestionRestaurantInterface {
public void addMenu(Menu m);
public void removeMenu(Menu m);
public Menu findMenuByNom(String nom);
public List<Menu> listeMenuDejeuner();
public List<Menu> listeMenuDiner();
public List<Menu> listeMenuPetitDejeuner();
public List<Menu> listeMenuDuJour();
public List<Menu> listeMenu();
public boolean supprimerMenu(Menu m);
public boolean supprimerMenu(Long id);
public List<Reservation> listeReservationByMenu(Menu m);
public List<Reservation> listeReservationByMenu(Long menuid);
public void addReservation(Reservation r);
public Reservation findReservationById(Long id);
public void removeReservation(Reservation r);
public Menu findMenuById(Long id);
public int countReservation();
public List<Reservation> listeReservation();
public boolean hasReservation(Reservation r,Utilisateur u);
public boolean hasReservation(Reservation r,String  u);
public List<Reservation> listeReservationByUser(Utilisateur u);
public List<Reservation> listeReservationByUser(String u);
public List<Reservation> listeReservationsEnCours();
public List<Reservation> listeReservationsTerminees();
public List<Reservation> listeReservationAnnulees();
public List<Reservation> listeReservationsEnCoursByUser(Utilisateur u);
public List<Reservation> listeReservationsEnCoursByUser(String u);
}
